<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork"%>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" id="user_duty_mini_form" style="width: 900px;">
    <input type="hidden" id="operFlag" name="operFlag" value="<ww:property value='operFlag'/>" />
    <input type="hidden" id="userId" name="userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="lableId" name="lableId" value="<ww:property value='lableId'/>" />
    <input type="hidden" id="uuid" name="uuid" value="<ww:property value='userInfoDialogVo.userDutyVo.uuid'/>" />
    <input type="hidden" id="userInfoDialogVo.userDutyVo.userId" name="userInfoDialogVo.userDutyVo.userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="userInfoDialogVo.userDutyVo.uuid" name="userInfoDialogVo.userDutyVo.uuid" value="<ww:property value='userInfoDialogVo.userDutyVo.uuid'/>" />
    <div class="content">
        <div class="box box-primary">
            <div class="box-body previewTable tab-content">
                <table class="table table-bordered editTable form-group-sm">
                    <thead>
                    <tr>
                        <th colspan="12">人员职务信息</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class="firstRow">
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">任职机构名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.joborgname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.joborgname'/>">
                            <%--<div class="Qtip">
                                <i class="fa fa-question-circle fa-lg" aria-hidden="true"></i>
                            </div>
                            <div class="tipDiv">
                                这里填写提示信息！！
                            </div>--%>
                        </td>
                        <td class="tdLable" colspan="2">是否领导成员</td>
                        <td colspan="4">
                            <ww:iterator value="#dictID.getDictType('d_truefalse')">
                                <label class="radio inline">
                                    <input class="form-control" type="radio" value="<ww:property value='code'/>" name="userInfoDialogVo.userDutyVo.isleadermem" style="margin-top: 3px;"
                                           <ww:if test="code.equals(userInfoDialogVo.userDutyVo.isleadermem)">checked="checked"</ww:if>><ww:property value="name"/>
                                </label>
                            </ww:iterator>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">成员类别</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userDutyVo.memtype" value="userInfoDialogVo.userDutyVo.memtype" list="#dictID.getDictList('d_leaderType', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                        <td class="tdLable" colspan="2">职务名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.dutyname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.dutyname'/>">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">是否领导职务</td>
                        <td colspan="4">
                            <ww:iterator value="#dictID.getDictType('d_truefalse')">
                                <label class="radio inline">
                                    <input class="form-control" type="radio" value="<ww:property value='code'/>" name="userInfoDialogVo.userDutyVo.isleader" style="margin-top: 3px;"
                                           <ww:if test="code.equals(userInfoDialogVo.userDutyVo.isleader)">checked="checked"</ww:if>><ww:property value="name"/>
                                </label>
                            </ww:iterator>
                        </td>
                        <td class="tdLable" colspan="2">职务排序</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.dutyorder" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.dutyorder'/>">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">集体内排序</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.collectivityorder" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.collectivityorder'/>">
                        </td>
                        <td class="tdLable" colspan="2">任职时间</td>
                        <td colspan="4">
                            <input type="text" class="Wdate form-control" name="userInfoDialogVo.userDutyVo.jobtime" readonly="readonly"
                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userDutyVo.jobtime)"/>'>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">任职文号</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.jobrefnum" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.jobrefnum'/>">
                        </td>
                        <td class="tdLable" colspan="2">选拔任用方式</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userDutyVo.jobway" value="userInfoDialogVo.userDutyVo.jobway" list="#dictID.getDictList('d_assignWay', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">是否破格提拔</td>
                        <td colspan="4">
                            <ww:iterator value="#dictID.getDictType('d_truefalse')">
                                <label class="radio inline">
                                    <input class="form-control" type="radio" value="<ww:property value='code'/>" name="userInfoDialogVo.userDutyVo.isabnormalpromote" style="margin-top: 3px;"
                                           <ww:if test="code.equals(userInfoDialogVo.userDutyVo.isabnormalpromote)">checked="checked"</ww:if>><ww:property value="name"/>
                                </label>
                            </ww:iterator>
                        </td>
                        <td class="tdLable" colspan="2">任职状态</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userDutyVo.jobstate" value="userInfoDialogVo.userDutyVo.jobstate" list="#dictID.getDictList('d_workState', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">免职时间</td>
                        <td colspan="4">
                            <input type="text" class="Wdate form-control" name="userInfoDialogVo.userDutyVo.missjobtime" readonly="readonly"
                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userDutyVo.missjobtime)"/>'>
                        </td>
                        <td class="tdLable" colspan="2">免职文号</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.missjobrefnum" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.missjobrefnum'/>">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">主职务</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userDutyVo.mainduty" value="userInfoDialogVo.userDutyVo.mainduty" list="#dictID.getDictList('d_truefalse', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                        <td class="tdLable" colspan="2">职务输出标识</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userDutyVo.joboutmark" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userDutyVo.joboutmark'/>">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">职务变动原因综述</td>
                        <td colspan="10">
                            <textarea  name="userInfoDialogVo.userDutyVo.jobchangereason" rows="5" cols="10" class="form-control" ><ww:property value="userInfoDialogVo.userDutyVo.jobchangereason" /></textarea>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <div class="operBtn">
                    <button class="btn green" type="button" onclick="save('<ww:property value="operFlag"/>','dialog','user_duty_mini_form','<ww:property value="lableId"/>','<ww:property value="userId"/>');"><i class="fa fa-save" aria-hidden="true"></i>&nbsp;保存</button>
                    <button class="btn" type="button" onclick="$css.closeDialog()"><i class="fa fa-times-circle-o" aria-hidden="true"></i>&nbsp;关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>